#include <stdio.h>
int main()
{
    int year = 0;
    int month = 0;
    int day = 0;

    scanf("%d%*c%d%*c%d", &year, &month, &day);//赋值忽略符放在字母前，不用创建变量保存
    printf("%d %02d %02d\n", year, month, day);//宽度为2， 不够补0
    //scanf双引号里面的要全输入
    return 0;
}